home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 19
/
CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso
/
Scala
/
Scripts
/
ScalaQuiz.Script
< prev
next >
Wrap
Text File
|
1997-12-16
|
12KB
|
377 lines
V3.0
MOUSE on
FKEYS on
POINTER on
INTERACTIVE on
MARKSOUND play "CUCD19:Scala/Sounds/Click003" volume 19 pan 64 period 125 loops 1
SELECTSOUND play "CUCD19:Scala/Sounds/SwitchOn002" volume 27 pan -64 period 125 loops 1
EVENT "T H E S C A L A Q U I Z"
SET total 0
SET score 0
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ccc 987 655 544 433 000 fff fdc fc0 f90 e00 138 0b8 0b0
COLOR 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 61 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyB.font 48
COLOR 9 12 7 7 7 0 0 0 0 9 0 0 0 0 0
ATTRIBUTES shadow remap center
STYLE 0 3 2 3 11 2 1 37 5 1 20 0 5 0 1 0 0 0 0
TEXT 33 187 "A Scala Variables Demo"
FONT GoudyB.font 23
ATTRIBUTES shadow remap right
STYLE 0 3 2 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 342 450 "Click here to start"
ATTRIBUTES shadow remap left
TEXT 59 450 "Click here to exit"
MARK replace 0 1 2 3 4 5 6 7 8 11 10 11 12 13 14 15
SELECT replace 0 1 2 3 4 5 6 7 8 14 11 11 12 13 14 15
BUTTON position 330 442 582 478 NEXT
BUTTON position 20 442 300 478 EXIT
PAUSE -1
GOTO "Question 1"
END
EVENT "Question 1"
SET answered total
SET total total+1
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ddd 176 165 154 143 132 010 fed feb fd0 fa0 f74 e00 0fc
COLOR 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 62 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyB.font 23
COLOR 9 12 0 7 7 0 0 0 0 9 0 0 0 0 0
ATTRIBUTES shadow remap center
STYLE 0 3 2 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 316 187 ""
TEXT 246 215 "Question 1:"
TEXT 55 243 "What is the meaning of the word 'Scala'?"
ATTRIBUTES remap left
STYLE 0 3 11 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 59 243 ""
TEXT 59 271 ""
TEXT 59 299 "1:\t\A chair"
TEXT 59 327 "2:\t\A ladder"
TEXT 59 355 "3:\t\A road"
MARK replace 0 1 2 3 4 5 6 7 8 11 10 11 12 13 14 15
SELECT replace 0 1 2 3 4 5 6 7 8 14 11 11 12 13 14 15
BUTTON position 50 296 570 324 NEXT
BUTTON position 50 326 570 352 SET score score+1 NEXT
BUTTON position 50 354 570 382 NEXT
PAUSE -1
GOTO "Question 2"
END
EVENT "Question 2"
SET answered total
SET total total+1
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ddd 9b9 797 575 353 131 010 fed fdb fd0 f56 e00 8ff afa
COLOR 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 61 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyB.font 23
COLOR 9 12 0 7 7 0 0 0 0 9 0 0 0 0 0
ATTRIBUTES remap center
STYLE 0 3 2 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 316 187 ""
ATTRIBUTES shadow remap center
TEXT 244 215 "Question 2:"
TEXT 96 243 "What is the correct musical scala?"
ATTRIBUTES remap center
TEXT 316 271 ""
ATTRIBUTES remap left
STYLE 0 3 11 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 59 271 ""
TEXT 59 299 "1:\t\do re mi fa so la ti do"
TEXT 59 327 "2:\t\do re mi la do fa si to"
TEXT 59 355 "3:\t\do mi re so la si do fa"
TEXT 59 383 ""
COLOR 10 12 0 7 7 0 0 0 0 10 0 0 0 0 0
TEXT 59 411 ""
ATTRIBUTES remap center
TEXT 278 411 "Score:"
TEXT 193 439 "!score of !answered"
MARK replace 0 1 2 3 4 5 6 7 8 11 10 11 12 13 14 15
SELECT replace 0 1 2 3 4 5 6 7 8 14 10 11 12 13 14 15
BUTTON position 50 296 570 324 SET score score+1 NEXT
BUTTON position 50 326 570 352 NEXT
BUTTON position 50 354 570 382 NEXT
PAUSE -1
GOTO "Question 3"
END
EVENT "Question 3"
SET answered total
SET total total+1
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ddd daf b8d 96b 749 527 305 fed ffb fe0 fb0 f50 fcf bfc
COLOR 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 61 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyB.font 23
COLOR 9 12 0 7 7 0 0 0 0 9 0 0 0 0 0
ATTRIBUTES shadow remap center
STYLE 0 3 2 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 316 187 ""
TEXT 244 215 "Question 3:"
TEXT 113 243 "How is the rainbow color scala?"
ATTRIBUTES remap center
STYLE 0 3 11 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 316 271 ""
ATTRIBUTES remap left
TEXT 59 271 ""
TEXT 59 299 "1:\t\yellow orange red violet blue green"
TEXT 59 327 "2:\t\red ora. yel. green blue indigo violet"
TEXT 59 355 "3:\t\lillac red yellow green blue violet"
TEXT 59 383 ""
COLOR 10 12 0 7 7 0 0 0 0 10 0 0 0 0 0
TEXT 59 411 ""
ATTRIBUTES remap center
TEXT 278 411 "Score:"
TEXT 193 439 "!score of !answered"
COLOR 9 12 0 7 7 0 0 0 0 9 0 0 0 0 0
ATTRIBUTES remap left
TEXT 59 340 ""
MARK replace 0 1 2 3 4 5 6 7 8 11 10 11 12 13 14 15
SELECT replace 0 1 2 3 4 5 6 7 8 14 10 11 12 13 14 15
BUTTON position 50 296 570 324 NEXT
BUTTON position 50 326 570 352 SET score score+1 NEXT
BUTTON position 50 354 570 382 NEXT
PAUSE -1
GOTO "Question 4"
END
EVENT "Question 4"
SET answered total
SET total total+1
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
WORDWRAP off
PALETTE 000 fff ddd 26b 259 258 246 234 001 fed feb fd0 fa0 f74 e00 0fc
COLOR 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 50 60 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyB.font 23
COLOR 9 12 0 7 7 0 0 0 0 9 0 0 0 0 0
ATTRIBUTES shadow remap center
STYLE 0 3 2 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 316 187 ""
TEXT 243 215 "Question 4:"
TEXT 160 243 "What is 'the Scala Echo'?"
ATTRIBUTES remap left
STYLE 0 3 11 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 59 271 ""
TEXT 59 299 "1:\t\Opera acoustics"
TEXT 59 327 "2:\t\Video editing system"
TEXT 59 355 "3:\t\Natural phenomenon in New Mexico"
TEXT 59 383 ""
COLOR 10 12 0 7 7 0 0 0 0 10 0 0 0 0 0
TEXT 59 411 ""
ATTRIBUTES remap center
TEXT 278 411 "Score:"
TEXT 193 439 "!score of !answered"
MARK replace 0 1 2 3 4 5 6 7 8 11 10 11 12 13 14 15
SELECT replace 0 1 2 3 4 5 6 7 8 14 10 11 12 13 14 15
BUTTON position 50 296 570 324 NEXT
BUTTON position 50 326 570 352 SET score score+1 NEXT
BUTTON position 50 354 570 382 NEXT
PAUSE -1
GOTO "Question 5"
END
EVENT "Question 5"
SET answered total
SET total total+1
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ddd db9 ca8 b97 a86 975 753 fed ff9 ff0 c20 0ed 000 803
COLOR 1 0 0 0 0 803 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 61 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyB.font 23
COLOR 9 12 0 7 7 803 0 0 0 9 0 0 0 0 0
ATTRIBUTES remap center
STYLE 0 3 11 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 316 187 ""
ATTRIBUTES shadow remap center
STYLE 0 3 2 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 244 215 "Question 5:"
TEXT 142 243 "Where do we find 'la Scala'"
ATTRIBUTES remap left
STYLE 0 3 11 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 59 299 "1:\t\In Oslo, Norway"
TEXT 59 327 "2:\t\In Barcelona, Spain"
TEXT 59 355 "3:\t\In Milan, Italy"
COLOR 10 12 0 7 7 803 0 0 0 10 0 0 0 0 0
ATTRIBUTES remap center
TEXT 278 411 "Score:"
TEXT 193 439 "!score of !answered"
FONT GoudyL.font 23
COLOR 9 12 0 7 7 803 0 0 0 9 0 0 0 0 0
TEXT 316 279 ""
MARK replace 0 1 2 3 4 5 6 7 8 11 10 11 12 13 14 15
SELECT replace 0 1 2 3 4 5 6 7 8 14 10 11 12 13 14 15
BUTTON position 50 296 570 324 NEXT
BUTTON position 50 326 570 352 NEXT
BUTTON position 50 354 570 382 SET score score+1 NEXT
PAUSE -1
GOTO "Question 6"
END
EVENT "Question 6"
SET answered total
SET total total+1
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ddd aad 99c 77a 559 337 225 fed fd0 fca f11 def 8ff 047
COLOR 1 0 0 0 0 47 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 61 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyB.font 23
COLOR 9 12 0 7 7 47 0 0 0 9 0 0 0 0 0
ATTRIBUTES shadow remap center
STYLE 0 3 2 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 316 187 ""
TEXT 244 215 "Question 6:"
TEXT 106 243 "Who developed the 12 note scala"
ATTRIBUTES remap left
STYLE 0 3 11 3 11 2 1 19 3 1 20 0 5 0 1 0 0 0 0
TEXT 59 271 ""
TEXT 59 299 "1:\t\Arnold Schönberg"
TEXT 59 327 "2:\t\Arne Nordheim"
TEXT 59 355 "3:\t\Vaslav Kamiensky"
TEXT 59 383 ""
COLOR 10 12 0 7 7 47 0 0 0 10 0 0 0 0 0
TEXT 59 411 ""
ATTRIBUTES remap center
TEXT 278 411 "Score:"
TEXT 193 439 "!score of !answered"
FONT GoudyL.font 23
COLOR 9 12 0 7 7 47 0 0 0 9 0 0 0 0 0
TEXT 316 281 ""
MARK replace 0 1 2 3 4 5 6 7 8 11 10 11 12 13 14 15
SELECT replace 0 1 2 3 4 5 6 7 8 14 10 11 12 13 14 15
BUTTON position 50 296 570 324 SET score score+1 NEXT
BUTTON position 50 326 570 352 NEXT
BUTTON position 50 354 570 382 NEXT
PAUSE -1
GOTO "Check results"
END
EVENT "Check results"
IF "score = total" GOTO "All correct"
IF "score > 3" GOTO "5 or 4 correct"
GOTO "Some correct"
END
EVENT "All correct"
SOUND play "CUCD19:Scala/Sounds/Amazing" volume 64 pan 0 period 178 loops 1
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ccc 987 fc7 fb0 f90 e60 fff fdc fc0 f90 e00 000 0b8 0b0
COLOR 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 61 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyL.font 48
COLOR 13 5 0 7 7 0 0 0 0 13 0 0 0 0 0
ATTRIBUTES edge remap center
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 0 1 0 0 0 0
TEXT 142 187 "Congratulations"
ATTRIBUTES edge center
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 2 1 0 0 0 0
TEXT 316 240 ""
COLOR 13 5 7 7 7 0 0 0 0 13 0 0 0 0 0
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 1 1 0 0 0 0
TEXT 96 293 "You scored 6 out of 6"
TEXT 211 346 "Fantastic!"
TEXT 144 399 "(Did you cheat?)"
PAUSE -1
GOTO "T H E S C A L A Q U I Z"
END
EVENT "5 or 4 correct"
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ccc 987 def bcd 9ab 789 fff fdc fc0 f90 e00 100 0b8 0b0
COLOR 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 61 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyL.font 48
COLOR 0 5 0 7 7 0 0 0 0 0 0 0 0 0 0
ATTRIBUTES edge remap center
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 0 1 0 0 0 0
TEXT 223 187 "Not bad!"
ATTRIBUTES edge center
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 2 1 0 0 0 0
TEXT 316 240 ""
COLOR 0 5 7 7 7 0 0 0 0 0 0 0 0 0 0
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 1 1 0 0 0 0
TEXT 62 293 "You scored !score out of"
TEXT 79 346 "!total. You know your"
TEXT 256 399 "scala!"
PAUSE -1
GOTO "T H E S C A L A Q U I Z"
END
EVENT "Some correct"
PICTURE "CUCD19:Scala/Backgrounds/Painting001"
TABS 97 200 300 400 500
MARGINS on 59 573
PALETTE 000 fff ccc 987 da8 c86 b65 a43 fff fdc fc0 f90 e00 000 0b8 0b0
COLOR 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0
ATTRIBUTES remap
STYLE 2 3 4 3 6 2 1 60 2 3 20 0 0 0 1 0 0 0 0
TEXTWIPE dump speed 1
BRUSH 51 61 "CUCD19:Scala/Symbols/Scala/ScalaQuiz"
FONT GoudyL.font 48
COLOR 0 5 7 7 7 0 0 0 0 0 0 0 0 0 0
ATTRIBUTES edge antialias remap center
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 1 1 0 0 0 0
TEXT 207 399 "Try again!"
COLOR 0 5 0 7 7 0 0 0 0 0 0 0 0 0 0
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 2 1 0 0 0 0
TEXT 253 187 "Well..."
TEXT 316 240 ""
COLOR 0 5 7 7 7 0 0 0 0 0 0 0 0 0 0
STYLE 0 3 11 3 11 2 1 37 5 1 20 0 5 1 1 0 0 0 0
TEXT 124 293 "You scored !score "
TEXT 189 346 "out of !total "
TEXT 207 399 "Try again!"
PAUSE -1
GOTO "T H E S C A L A Q U I Z"
END